First i think you know how set global.gd autoload script for work with Global Variables right?
Here is my example
Put in your global.gd script:
extends Node
var example
Now you will have acess with global.example sintaxe in any scene in any node from your project ;)