(Always) “git clone https://github.com/somerepo/somerepo.git” – Clone a remote repo to local disk repo.
<< Do some work, change, remove or update some files >>
(optional) “git pull” – if your working with multiple people
(optional) “git checkout /origin/some-pre-existing-branch” – for a different branch then the master
(optional) “git branch -a” – check branch-name currently checkout
(optional) “git add . ” – for new files
(Always) “git commit -m ‘some message'” – Add some files to source library
(Always) “git push” – As soon as you have committed something when working with multiple people
If you just started out with Git this should be enough.