SPA - commit before branch