Some commands you might need

$ git clone URL
$ git checkout -b local_name
$ git checkout -b local_name origin/remote_name
$ git fetch
$ git push
$ git merge origin/remote_name