Get-GitDirectory
SYNOPSIS
Gets the path to the current repository's .git dir.
SYNTAX
Get-GitDirectory
DESCRIPTION
Gets the path to the current repository's .git dir. Or if the repository is a bare repository, the root directory of the bare repository.
EXAMPLES
EXAMPLE 1
Get-GitDirectory
Returns C:\GitHub\posh-git\.git