def read(fname):
    return open(os.path.join(os.path.dirname(__file__), fname)).read()
def mkhead(repo: 'Repo', path: PathLike) -> 'Head':
    """:return: New branch/head instance"""
    return git.Head(repo, git.Head.to_full_path(path))