Fixing required directory in git