I do not want to upload my app to the wrong domain.
How can I change the git master branch on git?
Assuming your current remote is named origin then:
origin
Delete the current remote reference with
git remote rm origin
Add the new remote
git remote add origin
push to new domain
git push -u origin master
The -u will set this up as tracked.
-u