ok

https://github.com/mikew/gitlabhq/blob/9852ce887df753f34b66814ab38aced9b511fcb4/config/deploy.rb.example#L3
https://github.com/mikew/gitlabhq/blob/9852ce887df753f34b66814ab38aced9b511fcb4/config/deploy.rb.example#L17

set :branch, 'master' # for git scm
set :keep_releases, 5 # realy good %)