no reason to add $gitdir twice