Merging master changes in. Splitting git repo logic into separate
methods.