GIT push/pull without specifying branch

git config --global push.default current
  $ git config --global branch.master.remote origin
  $ git config --global branch.master.merge refs/heads/master