Too Long; Didn't Read Git Basics: Git basics and how it works. Git is a tool that can be used to upload your project to GitHub repository. To use the git tool for uploading your project in the GitHub repository, you must configure the. git tool with your. username, email, username, and repository button. It confirms that the git is installed on your. PC. It also switches the user to the current branch to another branch. It works when you are in your master branch. But when you work as in another branch then the command will be "git push origin"