Capistrano Git Methods 
This is a namespace containing methods for maintaining a remote server through git instead of the standard capistrano way.
Usage
Including this gem with require capistrano-git-methods in your recipe gives access to the git.<method> methods.
Methods
There is the following methods available:
setupclones the repository onto the server, and should be done when doing a cold deploy.update_codeupdates the remote code to match the latest head in the givenbranch.reposets the branch to the current head of the remote version of the code.cleanupcleans up after the git processes.
Configuration
You can configure the library from your deploy recipe, as it lazy-loads all the settings variables, so you don't need to worry about where you require this library.
The following sonfiguration options are available:
repositorydefines the specific repository that you want to clone.brachsets the branch within the repository to check out.