Uses system to determine if a git repository exists and if so returns the upstream remote URL and current commit SHA

get_git_info()

Value

character

Examples

if (FALSE) { get_git_info() }