Where I am from we talk about taking classes online. For a completed degree we often say ¨I got my degree online from......(institution of education) in ........(subject of study).¨ Or for one not completed you can ¨I am getting my degree online in .......(sublect of study) from .....(name of school/university.) For a degree in process the phrase ¨majoring in¨ is also used relatively frequently. For example, ¨I am majoring in mathematics at the University of Kansas.¨ If it is online only, you could say ¨I am majoring in mathematics through the University of Kansas.¨
I do not think I hear ¨do¨ very often. ¨Getting a degree¨ is common. For the future, ¨I am working on a degree in .... ¨ or I am planning on pursuing a degree in ......¨ You might also use ¨I will be attending ...... to study .........¨ Or you can use ¨I will be taking courses online to get my degree in ........¨