How to keep your code clean

Have you ever written a piece of code or submitted a Pull Request on GitHub and you get back a comment in return in the lines of your ‘code is clean’?
Have you ever wonder what that actually means?
Here, i am going to list a few guidelines in what makes code ‘clean’.