Abram's family comes from Ur of the Chaldeans. Abram's father, Terah, meant to move to Canaan, but only came as far as Haran. God calls Abram to Canaan. There is some confusion over some of the dating in the text, but we know that from Acts 7, Abram did not move until after his father died. God promises the land to Abram's children, and Abram builds an altar there. This is the first of several times that Abram is described as building altars.
When a famine came into the land, he left to Egypt with his wife, Sarai, Lot, and his people, but when asked who Sarai is, Abram responds that she was his sister (in reality, his half-sister). This causes a dispute with the pharaoh, who attempts to take Sarai as his wife.
When they return to Canaan, Abram lets Lot his portion, and Lot chooses the more prosperous land of Sodom and Gomorrah. When Lot is captured during a rebellion in the land, Abram seeks him out and routs the army.