Don't send output to os
Make git commands simpler