Commit before checkout
Decided to change approach here