RE: What does “git push origin master” exactly do?
"git push origin master" is a command in Git that uploads the content of your local repository (the changes you've made) to the remote repository. "git" is the tool you're using. "push" is the command to transfer your commits from the local repository to the remote repository. "origin" is the default name Git gives to the server where you cloned the repository from. It’s your project’s main repository, usually on a server. "master" is the main branch in your project. So "git push origin master" is content you've staged, committed, and are now telling Git to put that in your master branch on your origin. If everything is working correctly, your changes will now be visible in the origin/master branch.