Git fatal: A branch named master already exists code example Example: A branch named 'master' already exists. git checkout -b master origin/master