import pathlib

GITDIR = pathlib.Path('/opt/git') #TODO check permissions

import pathlib

GITDIR = pathlib.Path(os.environ.get('GITDIR', '/opt/git')) #TODO check permissions

Add support for GITDIR envar
Add support for GITDIR envar
