git push not send changes to remote git repository

Have you tried the following?

 $ git push origin master:master

Use git remote to find out the name(s) of your remote(s). The default remote is origin, which is automatically created when cloning a repository.


I found that the issue was that I had not added the files to the update as well as a message. I fixed this by using the following commands:

git add .

and then

git commit -m "updates done by..."

and then

git push origin <repo_name>

Hope this helps someone ;)