Maybe you are thinking of hyper? Cmder is based on conEmu as far is I know
I basically changed the config.lua file to use clink.get_cwd() instead of pwd(), and to
local HEADfile = io.open(git_dir.."/HEAD")
if not HEADfile then return false end
local git_branch = HEADfile:read():match('ref: refs/heads/(.*)')
HEADfile:close()
return colors.git_dirty .. " (" .. git_branch .. ")"
to find the current git branch if any. Less functional and more potential for errors (detached heads or such) but for my case it's very worth it.