# Functions
BranchesWithRemotes uses the Git config to determine which branches also exist on the remotes.
CurrentBranch gets the current local branch.
DefaultBranch gets the default branch (like main) from the remote refs.
No description provided by the author
IsGitDir checks if the current working directory containers a .git folder.
LocalBranches gets a list of all local branches as a slice of strings.
No description provided by the author
RemoteFromHead gets the remote where the HEAD is.