I have git instaled on Ubuntu, I'd like to use git combined with my own server, so that as I change files in a certain branch, commit and push it to the server it automaticly updates the files and is visible on the website, when I checkout to another branch I'd like my website to change automaticly to, so that the branch fits with what is visible on the website.
Is all that possible ?