add a branch status checking tool