I know that friends can see in the new feeds bar when I join Facebook groups. How to hide from my friends notifications about me joining some Facebook groups?
Change the privacy setting of your Activity Log to Only Me. It will hide your activities from your friends.
When you join a Close or Secret group, your friends who have already joined that group will be notified to approve your joining.