.g is a Glitch Pokémon in the Red/Blue versions, not be confused with g, a Yellow version Glitch Pokémon. .g is not obtainable by using any in-game trick such as the Mew glitch, and can only be caught by using a cheating device. It is seen in the party of Glitch trainers sometimes. It occupies hex EE (238) (see [1]) and will become ゥゥゥ: if traded to the Yellow version. .g evolves into Spearow and its type is bug.
Biology
Habitat
.g has no specific habitat because it was never programmed to be in a specific area, nor was it ever programmed for the player to find it. Since it only exists in Generation I, it must exist in the Kanto region. It has no habitat relating to the Mew glitch. Theoretically, it could also exist in some Glitch City-like location.
Game data