Bitcoin holds multiple advantage over gold as bitcoin can be used as a currency and also as an investment and it can be also earned in many which is not possible with gold as it is only a form of pure investment and gold is only popular because it exist since generations and bitcoin is new to many people and for the same reason then hesitate in investing their money in bitcoins as they have fear of loosing their money.
Gold can also be used as a currency, only not as conveniently as is the case with Bitcoin since it's easily divisible and spendable online. A lot people buy themselves into gold as some sort of a last resort currency in case something bad happens. Another thing, gold isn't meant to be earned by doing tasks as there is no convenience in doing so. That's why it's unfair to compare Bitcoin with gold in that regard.
Your mileage may vary
And how much it varies depends on how exactly you are going to use gold. It should be pretty obvious that transacting with physical gold is far back in the past. But it is as clear that this is not the only way of using gold. You can set up a system in which gold would be used as an asset backing up some money token, either digital or physical. And in that case (at least, in the case of digital gold) you could basically do anything that you can do today with fiat (e.g. make instant online payments and money transfers). As obviously, physical gold won't be moved anywhere but it is the same digits as well as of today, only electrons (or rather electromagnetic waves) are moving which represent these digits