Making recursive git commit restricted