Representation of an existing git repository, including all its object contents
Open a git repository
Look for a git repository and copy its path in the given buffer The lookup start from base_path and walk across parent directories if nothing has been found. The lookup ends when the first repository is found, or when reaching a directory referenced in ceiling_dirs or when the filesystem changes (in case across_fs is true).
Find and open a repository with extended controls
Free a previously allocated repository
Creates a new Git repository in the given folder
Retrieve and resolve the reference pointed at by HEAD
Check if a repository's HEAD is detached
Check if the current branch is an orphan
Check if a repository is empty
Get the path of this repository
Get the path of the working directory for this repository
Set the path to the working directory for this repository
Check if a repository is bare
Get the configuration file for this repository
Set the configuration file for this repository
Get the Object Database for this repository
Set the Object Database for this repository
Get the Index file for this repository
Set the index file for this repository