...
One of the most important difference from a user point of view is that since there is always one local repository and one or several remote repositories, there is a distinction in git between saving some work only locally on a private computer and making it available to other people who see only public remote computers. The first action is called commit, and it is therefore completely different from a subversion commit. The second action is called push. The equivalent to svn commit is therefore a pair of two commands, git commit followed by git push. It is possible to perform several git commit commits without doing any git push, which is impossible to do with subversion.
- svn checkout <repo-url>
git clone http://git-wip-us.apache.org/repos/asf/commons-math.git - svn diff
git diff - svn update
git pull - svn commit
git commit, followed by git push - svn status
git status - svn revert path
git checkout path