xxxxxxxxxx
# Change directory to your project folder
cd /path/to/your/project
# Initialize a new Git repository
git init
# Add all files to the repository
git add .
# Commit the changes
git commit -m "Initial commit"
# Add the GitLab remote repository URL
git remote add origin https://gitlab.com/your-username/your-project.git
# Push the changes to GitLab
git push -u origin master