Added more Ngit funcionality and unit tests