[![enter image description here][1]][1]

In my opinion, stretching is not enough and should be accompanied by strengthening of the muscles that get long and weak while staying in bad posture for long periods of time. Doing a ton of rowing, hip extension, abdominal, chin tuck exercises is a good starting point.

For only a minimal set of stretches, my choice would be:

1. The **reverse plank bridge to butterfly** stretch is good for correcting rounded shoulders and opening up the groin. Taken from [this video][2].

2. **Static hip flexor stretch** to stretch shortened hip flexors.

3. **Standing pike stretch** to stretch shortened hamstrings.

4. **Dead hangs** for spinal decompression.

5. **Upper trapezius stretch** if you think your shoulders are in an elevated position (can happen if your keyboard is too high).


  [1]: https://i.sstatic.net/FBNIp.jpg
  [2]: https://www.youtube.com/watch?v=s6fp7v1_SxY&t=3m29s