added example of checking out two branches in the same git repo using the name declaration
Merge pull request #15073 from godber/develop

Added an example for using states.git.latest