I can't find any good explanation of how to use git to get a site to staging / live servers.
At the moment i've ssh'd into the server and cloned my bitbucket repo into there and checked out the master branch. It works, but is this the best way?
I'm pretty new to git and server stuff so trying to get my head around it all.