is gb the same as f#?
Technically a F# and a Gb are exactly the same, they just appear in different contexts. Hence why is you take a look at the scales above, each note is the enharmonic equivalent of each other, so if you played an F# major scale out of context, it would be completely impossible to determine whether it was F# or Gb.