Remove git commit links from a work item in RTC
One answer
In general https://rsjazz.wordpress.com/2012/09/19/the-rtc-workitem-link-api-linking-workitems-to-other-elements/ explains how the API works. You would have to get the reference collection, identify and remove the GIT links from the collection and then save the work item.
I was however unable to find the GIT link type. I think it is defined in a jar file that is shipped with the RTC Eclipse client, but I do not know which. I have asked a colleague to help, if possible.