How to commit to remote git repository

git, git-push

Solution

All You have to do is `git push origin master`, where `origin` is the default name (alias) of Your remote repository and `master` is the remote branch You want to push Your changes to.

You may also want to check these out:

- http://gitimmersion.com/

- http://progit.org/book/

Problem

I am new to git. I have done a clone of remote repo as follows ``` git clone https://myusername@something.com/repo.git ``` then I did ``` git checkout master ``` made some changes and committed these changes to my local repository like below.. ``` git add . git commit -m "my changes" ``` Now I have to push these changes to the remote repository. I am not sure what to do. Would I do a merge of my repo to remote ? what steps do I need to take ? I have git bash and git gui. Please advise.

Original source