saltstack/salt — pull request #16200 by cimarronm (2014-09-27 04:30:03+00:00)
Title: states.git.latest bugs with new remotes

Two bugfixes:
1. Handle branch which is missing a remote (continue adding remote instead of aborting out)
2. When a new remote is added, need to fetch refs