To rename your Team, go to "Settings" in the upper right corner and open "Teams" tab. Select the Team which name you want to change. Click on Team’s name and a window "Edit team name" will appear. Write the new Team name and click on the green "Update" button.
A smaller note: you cannot rename the Team to which you were invited from another colleague. Only they have the authority to do so.