Firstly, when it comes to git i'm a bit of a newbie.
I have two website one is used for development the other is the live site. I am just about to move all the files over to git, (and github) as I have been using SVN but think git (after a few weeks of playing) will suit the project better going forward.
What I'm trying to understand is how to get the best workflow for me, having the files uploaded onto remote servers. The sandbox version of the site currently lives locally and also uploaded to the sandbox remote site, any testing is done on here, and once we are happy we move it across to the main site Via checking in any changes flipping over to live site files and updating file then uploading.
I now intend to have the main 'Master' branch and have a 'sandbox' branch version off that. This would give me the option to create new branches for small bugs, merging them to sandbox when done and testing.
In my old way of working as the files were stored in two different places locally (had checked out two version from SVN repository) I could jump into Coda and ftp the files up to the server when ready.
I'm now guessing pushing to remote would be a better option as ftp-ing with the one repository would cause a few headaches?
I'm using Tower that is really helping my workflow, but stuck on how to get the files online. Any help or if my question doesn't make sense please shout...