# File lib/capistrano/recipes/deploy/scm/git.rb, line 122 def head configuration[:branch] || 'HEAD' end