I'm quite new to Xcode, and I wanted to figure out version control before I added a change that could possibly screw up my project. I'm working on this project alone and have a Git repository saved on my mac, so I don't think I need to link it with a GitHub account. I right-clicked, selected "branch from master", and called it morePictures because of the changes I wanted to make. Now all of the code I have in 'ViewController.swift' has moved to morePictures and when I look at it it shows the master having the none of my code in it with morePictures having all of it. It shows the changes and I'm pretty sure that I have to select to keep or discard certain changes but I don't know how.
In summary, I just want to be able to keep my working code on a master branch, switch between branches, and be able to choose changes to keep and discard when I merge the two.
Here are some pictures of what it looks like now:


Now you have to confirm the checkout.