Thekyr is absolutely correct with her explanation. However, "you bet" is also often used in the USA as another way to say, "OK." So if someone says, "I'll see you later," you could reply, "You bet." The stronger you say/inflect it, the stronger the meaning.