Neither is actually 'correct' 'You gotta' is a written version of the way 'You've got to/You have got to' is uttered by some speakers in informal conversation.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.