fix #13 The number of commits ahed and behind are correctly calculated