Cleaned up Git#checkout and Git#rm method definitions.