Git Push

The git push command is one which is used to upload local repository content to a remote repository.

When you are done with the commit process, now its time to push/upload our changes from local system to remote system repository

For pushing our changes to master branch we will execute:

git push origin

git push

It will ask for your github username and password, after providing your credentials just press enter. Our file will now be pushed to our remote repository.

Now login into your Github account there you will find you uploaded contents. In our case after login into our Github account we found into demo-repo successfully.

Subscribe Now