git set upstream to origin branch pull code example
Example: git configure upstream for branch push and pull
# if remote_branch_name == local_branch_name
$ git push -u origin HEAD
# if remote_branch_name == local_branch_name
$ git push -u origin HEAD