I'm trying to leave the stone ages and integrate version control into my workflow, but I'm a total VC noob. I have an account with Bean Stalk, added a remote git repository there, and have successfully initiated the local git repo in Coda 2. I'm also setting up a local dev environment where I can run MAMP Pro and use thedomain.dev on my network to develop locally. The end game is to code away locally, using the local git repo, and then when I'm satisfied, pushing (correct term?) to the remote repo, which would then upload those files to the staging domain, hosted on a remote server. My old workflow involved editing files directly on the server, which is horrible. So, I am trying to do things the right way.
I cannot find any good resources on how to do this. Again, my local git repo is working just fine. However, I want to be able to push those changes to the remote repository in Coda 2. The "Source" tab in the edit sites panel only has "local" in the dropdown and I can't change anything in it, can't figure out how to do it and can't find much help on Google.
Any thoughts? Is this even a good strategy? I'm open to suggestions, because I'm trying to find a better workflow than editing files directly via SFTP.
Thank you!