better gitCleanPull function