Add git reset.
Fix reset / pull / submodule logic.