How to rotate edges on their own axis?
Select all the edges you want to rotate.
Change pivot point to Individual Origins.
Change Transform Orientation to Normal





Press R button to rotate and Z button twice to rotate around the Z Normal axis of individual edges.