repo git: reduce the number of status commands being called on activity