Git Functions

Git functions

currentBranch

func currentBranch(path string) string
Returns the name of the currently checked out git branch at the given
path

currentCommit

func currentCommit(path string) string
Returns the hash of the currently checked out git commit at the given
path

origin

func origin(path string) string
Returns the git origin remote URL at the given path