Use NGit API

Simplify NGit code by using NGit API available. Done for Fetch, Push, Tag, Branch and SwitchToBranch.