modify output format of mgit

* fill the head row with '#'