OK...I'll throw my 2cents worth in.
All answers are on the right track. I will say this though. If you are a beginning guitar student, start out with an inexpensive acoustic. If after 6 months of learning, and depending on your progress, you may want to jam with your buds. Then again, an electric is not a must have, if you are playing chords and easy listening tunes. You may even consider an electric/acoustic, but you will still need an amp with that.
Fender probably has the best deal on a starter set, Squire guitar,and a Fender Frontman amp. Also in the kit is a gig bag for the axe, cable (or lead, depending on which side of the Atlantic you live on) a tuner, a must have guitar tool, and usually some starter instructions. You can pick up a lot of tips by watching other guitarist, and even hanging out at the local music store. As far as an acoustic start up set, Fender, Takamine, Ovation (Applause line).
I've been playing a few years, and I own 3 of the old Ovation solids, and a Gibson Corvus, but the rest of my collection consists of Koren import Hamers and Paul Reed Smiths. I also own a 2004 Gibson Les Paul Studio, and it is not half the guitar my import PRS's are. The PRS SE line of guitar are hard to beat even by the American builders.
You can tie up some big bucks in gear, so go slow and see if you have the most important part of guitar playing talent....dedication.
As far as amps, I agree with everyone else, well maybe not the CyberTwin (but I'm not a Fender fan) and the tube amp is the best all around, but I do like my Marshall Valvestate. Tube preamp for tone and bite, and solid state power for dependability.
Just remember, pace yourself, practice,practice,practice ,and most of all....Stay in tune!