FORGE-725: Releasing resources after usage of git object