pub fn dir(dir: impl AsRef<str>) -> Result<PathBuf>
Get a directory with respect to the git project root.
If the current directory is not inside a git repository.