topic description
str = "master 7ecbf3f [origin/master: ahead 8, behind 1] local"
1. How to get the string origin/master: ahead 8, behind 1 between []?
2. How to tell that the string fetched in 1 contains behind or diverged ?
Shell is so fascinating, solve!
