gem 'any gem',git: 'any repo',branch: 'specific branch of that repo',ref: 'reference no.'
ref specifies individual commit. branch specifies the git branch to pull from.