Added an example for using states.git.latest

I added example of checking out two branches in the same git repo using the name declaration to avoid clashing ID declarations.