new way of getting git revision
removed unneeded dependency on main ctrl