Extract git branch status and name with resorting to awk