Git Push Pull


// Git - Push and pull:

git push origin master // Push this change to the master branch on the remote named origin?

git push -u origin originBranchName // Tell Git to associate our current local
  // branch with the specified originBranchName so that later on we do not
  // have to use the -u option again.

git pull origin master

git push origin --delete branchName // delete the specified branchName on
  // the origin repository

git push // push all the commits that we have committed in our local
    // repository to the remote "origin" repository.

git pull // pull and merge all the changes that had occurred on the remote
    // "origin" repository to our local repository