Being new to German, I am not properly affiliated with the correct grammatical use of gibt es and es gibt. All I know is that they both mean there is in English.
So in what scenarios do I use each one of these phrases correctly?
The German verb has to come second. The first position can be filled with whatever. Thus the phrase "gibt es" can totally be part of statements
Es gibt in Berlin gute Bäcker.
In Berlin gibt es gute Bäcker.
As the other answer already mentions, "Gibt es" is the order you'll find in questions.
Gibt es in Berlin gute Bäcker?
AND it can be also a colloquial response to that very question:
Ja, gibt es. (Yes, there are)
Lastly, it "gibt es" can occur in sentences that use a verb-first structure to express "if".
Gibt es gutes Brot, esse ich gerne Frühstück.
If there is good bread, I enjoy eating breakfast.
The way you phrased the question kind of misses the point, since "es gibt" and "gibt es" are the same expression. The difference does not have to do with meaning or usage of this particular expression, but rather with the general rules on word order in German sentences that apply to other expressions and sentences as well. While the standard word order is that subject ("es") precedes verb ("gibt"), there are some triggers (quite a few actually - sadly, you'll have to memorize them) that require an inversion of this order (Emanuel has already mentioned some of these), e.g.:
- questions ("Gibt es XYZ?")
adverbial constructions at the beginning of a phrase that indicate location or time ("In Berlin gibt es viele Menschen."; "Heute morgen bin ich in die Stadt gegangen.")
adverbial constructions at the beginning of a phrase that indicate oppositeness ("Dennoch bin ich in die Stadt gegangen." = "Despite this, I went to town.") but not always! cf. "Obwohl ich es wusste, ...")
short (elliptic) answers like Emanuel mentioned ("Ja, gibt es."). In this context, the inversion is often used for emphasis ("Willst Du wirklich dorthin gehen?" "Ja, will ich!" = "Do you really want to go there?" "Yes, indeed!")
conditional sentences like Emanuel mentioned ("Ist das Wetter gut, gehe ich in die Stadt." = "If the weather is good, I'll go to town.")
And many many more - I'm not a linguist and can't give you a comprehensive overview, but I guess it would make sense for you to not just memorize some expressions, but the general rules behind it.
Viel Spaß beim Lernen! :)
The difference to gibt es and es gibt is very difficult.
- Es gibt ex.: Es gibt eine Konditorei in meiner Stadt.
- Gibt es: Gibt es hier eine Metzgerei?
Es is the subject and gibt is the verb.
"Es gibt X" = "It gives X."
"Gibt es X?" = "Does it give X?"
Keep in mind that "it gives" in German is often more accurately translated into English as "there is." Like, "Es gibt Kuchen" = "There is cake." (Or "Gibt es Kuchen?" = "Is there cake?")