def METHOD_NAME(commit, home):
    if commit == "local":
        # We just tested local, so do nothing
        pass
    else:
        # Return home and pop stash
        print "Checking out %s and popping stash..." % home
        runCommand("git checkout %s" % home)        
        runCommand("git stash pop")