In a comment below @egreg's answer, the OP wrote
The reason for which I like \gg to give me a boldface g is that I use \vv, \cc, \xx etc. as a shorthand for boldface letters of which I have many.
Rather than having to keep track of a plethora of two-letter macro names -- some of which will, sooner or later, interfere with existing macro names (such as \gg) -- that all accomplish the same thing, I suggest you create a single, specialized macro called, say, \bb, which bold-faces its argument. In a way, \bb is a shortcut to \symbf. Of course, it's up to you if you prefer writing \bb g or \bb{g}.

An advantage of using a single macro (\bb) instead of \vv, \cc, \xx, etc is that if you -- or the journal you're submitting a paper to -- decide that you'd like to generate bold-italic rather than bold-upright symbols, all you'll have to do is to change \newcommand\bb[1]{\symbf{#1}} to \newcommand\bb[1]{\symbfit{#1}}.
% !TEX TS-program = lualatex
\documentclass{article} % or some other suitable document class
\usepackage{unicode-math} % 'unicode-math' loads 'amsmath' and 'fontspec' automatically
\setmainfont{STIX Two Text} % 'Ligatures=TeX' is enabled by default
\setmathfont{STIX Two Math}
\newcommand\bb[1]{\symbf{#1}} % handy shortcut macro
\begin{document}
$\bb g \gg g$
\end{document}