chickadee » git » repository-path

repository-path repositoryprocedure

Returns the absolute path to the given repository's Git directory, either the topmost directory in the project (if the repository is bare) or the ".git" subdirectory.