Add mode and method of git step to renderables

Implements #2768.

To keep the test, i test if instance of method and mode are string.