Fix fo error inside git directory