Quick summary
This demo walks you through the complete process of pushing files to GitLab using Git Bash, covering everything from initializing a repository to executing the final git push command. Each step is shown interactively so developers can follow along and replicate the workflow in their own local environment.
Steps
- Open Git Bash by locating the files in your local repository, right-clicking, and selecting "Open Git Bash Here."
- Run git init in the terminal to initialize Git in your project folder.
- Run git status to check for untracked files that you want to push to the remote repository.
- Copy and paste the Git global setup commands into your command prompt to configure the author's name and email for your repository.
- Use git add <file-name> in Git Bash to stage all files for commit in your remote repository.
- Enter git commit -m "<your commit message>" to commit the staged files to your repository.
- Run the push command to send your changes to the chosen remote repository.
- Execute git push -u origin master by copying the command from your Git command instruction lines to complete the push.
- Enter your GitLab username and password when prompted to authenticate.
- Confirm that the file has been successfully pushed from your local repository to your remote GitLab repository.



