remove unnecessary checkout commands