Get(ting) up early is a good habit.
It is a good habit to get up early.
To rise early is a good habit