Early into his managerial career, Gegić spent one and a half years at the helm of Bor before taking charge of Yugoslav First League side Radnički Niš in the second part of the 1962–63 season.[3] He left the club over the summer and took charge of league rivals Sarajevo. During his two years at Koševo, Gegić enjoyed success with the team in the top flight, leading them to a runner-up finish in 1964–65.[4]
Following his breakthrough season at Sarajevo, Gegić was appointed as manager of Partizan, the reigning Yugoslav champions. He guided them to the 1965–66 European Cupfinal, eventually losing 2–1 to Real Madrid.[5] Shortly following the loss, Gegić left the club and went to Turkey, becoming manager of Fenerbahçe.[6]
Between 1967 and 1971, Gegić served as manager of Eskişehirspor, finishing as runners-up in two consecutive seasons (1968–69 and 1969–70) and winning the Turkish Cup in 1970–71.[7] He subsequently returned to Yugoslavia for his second stint as manager of Sarajevo, but went back to Turkey the following year and took charge of Beşiktaş. Throughout the rest of the 1970s, Gegić was also manager of Adana Demirspor, Bursaspor, Adanaspor, Samsunspor, and Diyarbakırspor.[8]
Personal life
Gegić and his wife welcomed their first son the day before the 1966 European Cup final, naming him Brisel in honor of the game's host city.[9]