The former French colony of Ubangi-Shari became the Central African Republic upon independence in 1960 .