49ers sign former KU corner JaCorey Shepherd

FILE — Former Philadelphia Eagles cornerback JaCorey Shepherd looks back during practice at NFL football training camp, Monday, July 25, 2016, in Philadelphia. Shepherd, a former Kansas cornerback, signed with San Francisco Monday, Oct. 10, 2016. (AP Photo/Chris Szagola)

Former University of Kansas cornerback JaCorey Shepherd has a new team and a familiar head coach.

After spending the first several weeks of this NFL season bouncing on and off of Philadelphia’s practice squad — cut one week, signed back the next, and so forth — another organization, San Francisco, swooped in to sign the former sixth-round draft pick on Monday.

The Eagles drafted Shepherd 191st overall in the 2015 NFL Draft. The 5-foot-11, 199-pound corner missed all of his rookie season after tearing his right anterior cruciate ligament in preseason camp.

After spending the past several months rehabbing his way back to playing shape, Shepherd didn’t make Philadelphia’s 53-man roster before this season began.

Then came the Eagles’ constant roster tweaking with Shepherd, who has yet to play in a regular-season game.

“They just tell me, roster moves are roster moves,” Shepherd told Philadelphia reporters last week. “They just tell me they want me here, don’t go nowhere. They want me here. If I’m here, they want me here, and in the end that’s all that matters.”

It turns out the 49ers wanted Shepherd, too. The organization, coached by former Eagles head coach Chip Kelly, reached a two-year deal with the former KU corner.

The Eagles fired Kelly following the 2015 season.

The Niners added Shepherd and moved cornerback Chris Davis to its injured reserve list in order to make room on the 53-man roster.