Redirect to home after switching branch