feature switch_branch

#10 #11 の対応版