I would do:
vim.keymap.set('i', '<C-b>', 'b:gitsigns_head', {expr = true})
Or if you prefer a "pure" lua version:
lua vim.keymap.set('i', '<C-b>', "luaeval('vim.b.gitsigns_head')", {expr = true})
The {expr = true}
makes that the lhs is evaluated instead of used directly as input.