find the root of the git repository where the file lives,"os.path.abspath(os.path.join(dir, '..'))"