Gsub for renamed branches

Signed-off-by: Jacques Marneweck <jacques@powertrip.co.za>