Write path of all branchs in console app