fix(push_branch): ensure push_branch level works on Windows
fix(push_branch): ensure push_branch level works on Windows

Previously the push_branch level was using the `wc` tool to check the
number of branches in the repository. Since `wc` is not available on
Windows, a pure ruby alternative is used.

kuramameng/githug,FP-QAs/githug,kaylal12/githug,mtam2/githug,wrestt/githug,kaylal12/githug,HanJisoo/Test,Limags/githug,zachalewel/githug,kaylal12/githug,blueyi/githug,HanJisoo/Test,kuramameng/githug,eshimel/githug,zachalewel/githug,geoluther/githug,geoluther/githug,wrestt/githug,eshimel/githug,resource11/githug,blueyi/githug,youyou22/githug,Gazler/githug,Limags/githug,Gazler/githug,youyou22/githug,HanJisoo/Test,hydrox24/githug,geoluther/githug,FP-QAs/githug,raq929/githug,legendtkl/githug,resource11/githug,FP-QAs/githug,raq929/githug,Gazler/githug,mtam2/githug,legendtkl/githug,eshimel/githug,wrestt/githug,zachalewel/githug,kuramameng/githug,FP-QAs/githug,raq929/githug,Limags/githug,resource11/githug,legendtkl/githug,hydrox24/githug,youyou22/githug,mtam2/githug,hydrox24/githug,blueyi/githug