title: How to transfer github remote in Xcode
body: <p>There was an error in my original project so I downloaded a past version of it through GitHub. I added an existing remote and used the github address for the location. When I commit and push, it pushes the files on &quot;main&quot; instead of &quot;master&quot; (the original one). How can I make it push onto the master branch?</p>