added example of checking out two branches in the same git repo using the name declaration
Merge pull request #15259 from saltstack/bp-15073

Backport #15073 to 2014.7