change any branch to master branch git code example
Example 1: git change branch
git checkout <<branchName>>
Example 2: git change branch
$ git branch iss53
$ git checkout iss53
git checkout <<branchName>>
$ git branch iss53
$ git checkout iss53