check if upstream_repo already set

On branch master
Changes to be committed:

	modified:   lib/gitkm.lib
fix if statement for git status

On branch master
Changes to be committed:

	modified:   lib/gitkm.lib