I use mavensmate with sublime editor for salesforce project. I was told it is a good practise to have each sandbox links to a Github branch, but wasn't told how to.
when I set up each sandbox in Mavensmate, it needs an empty folder, which means each sandbox per folder. but how could I sync each folder with a Github branch ?
The best working manner would be when I save in Sublime, it will save to my Salesforce sandbox. and when I commit the file in Sublime, it will commit to corresponding branch.
any contribution of ideas of how to manage multiple sandboxes for one project in Github will be appreciated.